package com.lh.pospi.x_store.modle;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import cn.ittiger.indexlist.entity.BaseEntity;

@Entity
public class CatBean implements BaseEntity {
    @Id(autoincrement = true)
    private Long id;
    private String recno;
    private String code;
    private String name;
    private String flag;
    public String getFlag() {
        return this.flag;
    }
    public void setFlag(String flag) {
        this.flag = flag;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getCode() {
        return this.code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getRecno() {
        return this.recno;
    }
    public void setRecno(String recno) {
        this.recno = recno;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    @Generated(hash = 625287328)
    public CatBean(Long id, String recno, String code, String name, String flag) {
        this.id = id;
        this.recno = recno;
        this.code = code;
        this.name = name;
        this.flag = flag;
    }
    @Generated(hash = 1152680801)
    public CatBean() {
    }

    @Override
    public String getIndexField() {
        return name;
    }
}
